﻿<%@ Page Title="" Language="C#" MasterPageFile="~/anonimus.Master" AutoEventWireup="true" CodeBehind="Registracija.aspx.cs" Inherits="sdamarketing.Registracija" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<asp:Content ID="Content2" ContentPlaceHolderID="title1PlaceHolder" runat="server">
    <asp:Label ID="Label3" runat="server" Text="Регистрација на нов корисник."></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="text1PlaceHolder" runat="server">
    <asp:Panel ID="PanelRegistracja" runat="server">
    <table style="width:100%;">
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblName" runat="server" meta:resourcekey="Label3Resource1" 
                    Text="Име"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:TextBox ID="FirstNameTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="FirstNameTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="FirstNameTextBox" ErrorMessage="Ве молиме внесете име" 
                    meta:resourcekey="RequiredFieldValidator1Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <validatorcalloutextender id="RequiredFieldValidator1_ValidatorCalloutExtender" 
                    runat="server" targetcontrolid="RequiredFieldValidator1">
                </validatorcalloutextender>
            </td>
            <td rowspan="13">
                <asp:Image ID="Image1" runat="server" Height="170px" ImageAlign="Left" 
                    ImageUrl="~/sliki/User.jpg" style="margin-left: 13px" Width="170px" />
            </td>
        </tr>
        <tr>
            <td style="height: 9px; width: 170px; text-align: right;">
                <asp:Label ID="lblLastname" runat="server" meta:resourcekey="Label4Resource1" 
                    Text="Презиме"></asp:Label>
            </td>
            <td style="height: 9px; width: 210px">
                <asp:TextBox ID="LastNameTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="LastNameTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="LastNameTextBox" ErrorMessage="Ве молиме внесете презиме" 
                    meta:resourcekey="RequiredFieldValidator2Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <validatorcalloutextender id="RequiredFieldValidator2_ValidatorCalloutExtender" 
                    runat="server" enabled="True" targetcontrolid="RequiredFieldValidator2">
                </validatorcalloutextender>
            </td>
        </tr>
        <tr>
            <td style="height: 23px; width: 170px; text-align: right;">
                <asp:Label ID="lblEmail" runat="server" meta:resourcekey="Label5Resource1" 
                    Text="E-пошта"></asp:Label>
            </td>
            <td style="height: 23px; width: 210px">
                <asp:TextBox ID="EMailTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="EMailTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="EMailTextBox" ErrorMessage="Ве молиме внесете Е-пошта" 
                    meta:resourcekey="RequiredFieldValidator3Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <validatorcalloutextender id="RequiredFieldValidator3_ValidatorCalloutExtender" 
                    runat="server" enabled="True" targetcontrolid="RequiredFieldValidator3">
                </validatorcalloutextender>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="EMailTextBox" 
                    ErrorMessage="Ве молиме внесете Е-пошта во точен формат" 
                    meta:resourcekey="RegularExpressionValidator1Resource1" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    ValidationGroup="RegisterGroup">*</asp:RegularExpressionValidator>
                <validatorcalloutextender id="RegularExpressionValidator1_ValidatorCalloutExtender" 
                    runat="server" enabled="True" targetcontrolid="RegularExpressionValidator1">
                </validatorcalloutextender>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblUsername" runat="server" meta:resourcekey="Label6Resource1" 
                    Text="Корисничко Име"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:TextBox ID="UsernameTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="UsernameTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="UsernameTextBox" 
                    ErrorMessage="Ве молиме внесете корисничко име" 
                    meta:resourcekey="RequiredFieldValidator4Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblPassword" runat="server" meta:resourcekey="Label7Resource1" 
                    Text="Лозинка"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:TextBox ID="PasswordTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="PasswordTextBoxResource1" TextMode="Password" 
                    ValidationGroup="RegisterGroup" Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="PasswordTextBox" ErrorMessage="Ве молиме внесете лозинка" 
                    meta:resourcekey="RequiredFieldValidator5Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblRePassword" runat="server" meta:resourcekey="Label8Resource1" 
                    style="text-align: right" Text="Повтори Лозинка"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:TextBox ID="PasswordConfTextBox" runat="server" MaxLength="50" 
                    meta:resourcekey="PasswordConfTextBoxResource1" TextMode="Password" 
                    ValidationGroup="RegisterGroup" Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="PasswordConfTextBox" 
                    ErrorMessage="Ве молиме потврдете ја лозинката" 
                    meta:resourcekey="RequiredFieldValidator6Resource1" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="PasswordTextBox" ControlToValidate="PasswordConfTextBox" 
                    ErrorMessage="Внесените лозинки не се совпаѓаат" 
                    meta:resourcekey="CompareValidator1Resource1" ValidationGroup="RegisterGroup">*</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblQuestion" runat="server" Text="Сигурносно прашање"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:TextBox ID="QuestionTextBox" runat="server" MaxLength="150" 
                    meta:resourcekey="PasswordConfTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                    ControlToValidate="QuestionTextBox" 
                    ErrorMessage="Ве молиме внесете сигурносно прашање" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblAnswer" runat="server" Text="Одговор"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:TextBox ID="AnswerTextBox" runat="server" MaxLength="150" 
                    meta:resourcekey="PasswordConfTextBoxResource1" ValidationGroup="RegisterGroup" 
                    Width="168px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                    ControlToValidate="AnswerTextBox" 
                    ErrorMessage="Ве молиме внесете сигурносен одговор" 
                    ValidationGroup="RegisterGroup">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="Label13" runat="server" Text="Образование"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:DropDownList ID="DropDownListEducation" runat="server" Width="168px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="lblNationality" runat="server" Text="Националност"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:DropDownList ID="DropDownListNationality" runat="server" Width="168px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="Label14" runat="server" Text="Пол"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:DropDownList ID="DropDownListSex" runat="server" Width="168px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="Label15" runat="server" Text="Возраст"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:DropDownList ID="DropDownListAge" runat="server" Width="168px" 
                    >
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; text-align: right;">
                <asp:Label ID="Label16" runat="server" Text="Социјална структура"></asp:Label>
            </td>
            <td style="width: 210px">
                <asp:DropDownList ID="DropDownListStructure" runat="server" Width="168px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 170px; height: 50px;">
                &nbsp;</td>
            <td style="width: 210px; height: 50px;">
                <asp:Button ID="saveButton" runat="server" onclick="saveButton_Click" 
                    Text="Зачувај" ValidationGroup="RegisterGroup" />
                <confirmbuttonextender id="saveButton_ConfirmButtonExtender" runat="server" 
                    confirmtext="Дали сте сигурни?" enabled="True" targetcontrolid="saveButton">
                </confirmbuttonextender>
            </td>
            <td style="height: 50px">
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    meta:resourcekey="ValidationSummary1Resource1" 
                    ValidationGroup="RegisterGroup" />
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <asp:Label ID="lblMessage" runat="server" ForeColor="Red" 
                    meta:resourcekey="UserExsistLabelResource1"></asp:Label>
            </td>
        </tr>
        </table>
        </asp:Panel>
    <asp:Panel ID="PanelInteresi" runat="server">
           <table style="width: 100%">
               <tr>
                   <td colspan="3">
                       <asp:Label ID="Label2" runat="server" Text="Ве молиме одберете ги областите за кои сте заинтересирани."></asp:Label>
                   </td>
               </tr>
               <tr>
                   <td style="width: 180px">
                       <asp:TextBox ID="avtoslider" runat="server" style="right:0px" Text="0" />
                       <cc1:SliderExtender ID="SliderExtender3" runat="server" BehaviorID="avtoslider" 
                           BoundControlID="avtoslider_BoundControl" EnableHandleAnimation="true" 
                           Orientation="Horizontal" TargetControlID="avtoslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                       <asp:TextBox ID="avtoslider_BoundControl" runat="server" Width="30" />
                       <asp:Label ID="Label1" runat="server" Text="Автомобили"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                       <asp:TextBox ID="oruzjeslider" runat="server" style="right:0px" Text="0" />
                       <cc1:SliderExtender ID="SliderExtender1" runat="server" BehaviorID="oruzjeslider" 
                           BoundControlID="oruzjeslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="oruzjeslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                       <asp:TextBox ID="oruzjeslider_BoundControl" runat="server" Width="30" />
                       <asp:Label ID="Label4" runat="server" Text="Оружје"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                       <asp:TextBox ID="computerslider" runat="server" style="right:0px" Text="0" />
                       <cc1:SliderExtender ID="SliderExtender2" runat="server" BehaviorID="computerslider" 
                           BoundControlID="computerslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="computerslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                       <asp:TextBox ID="computerslider_BoundControl" runat="server" Width="30" />
                       <asp:Label ID="Label5" runat="server" Text="Компјутери"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                       <asp:TextBox ID="foodslider" runat="server" style="right:0px" Text="0" />
                       <cc1:SliderExtender ID="SliderExtender4" runat="server" BehaviorID="foodslider" 
                           BoundControlID="foodslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="foodslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                       <asp:TextBox ID="foodslider_BoundControl" runat="server" Width="30" />
                       <asp:Label ID="Label6" runat="server" Text="Храна"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                      <asp:TextBox ID="drinksslider" runat="server" style="right:0px" Text="0" />
                       <cc1:SliderExtender ID="SliderExtender5" runat="server" BehaviorID="drinksslider" 
                           BoundControlID="drinksslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="drinksslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                      <asp:TextBox ID="drinksslider_BoundControl" runat="server" Width="30" />
                       <asp:Label ID="Label7" runat="server" Text="Пијалоци"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                      <asp:TextBox ID="electronicsslider" runat="server" style="right:0px" Text="0" />
                       <cc1:SliderExtender ID="SliderExtender6" runat="server" BehaviorID="electronicsslider" 
                           BoundControlID="electronicsslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="electronicsslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                        <asp:TextBox ID="electronicsslider_BoundControl" runat="server" Width="30" />
                        <asp:Label ID="Label8" runat="server" Text="Електроника"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                        <asp:TextBox ID="fashionslider" runat="server" style="right:0px" Text="0" />
                        <cc1:SliderExtender ID="SliderExtender7" runat="server" BehaviorID="fashionslider" 
                           BoundControlID="fashionslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="fashionslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                        <asp:TextBox ID="fashionslider_BoundControl" runat="server" Width="30" />
                        <asp:Label ID="Label9" runat="server" Text="Мода"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                        <asp:TextBox ID="phoneslider" runat="server" style="right:0px" Text="0" />
                        <cc1:SliderExtender ID="SliderExtender8" runat="server" BehaviorID="phoneslider" 
                           BoundControlID="phoneslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="phoneslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                        <asp:TextBox ID="phoneslider_BoundControl" runat="server" Width="30" />
                        <asp:Label ID="Label10" runat="server" Text="Телефони"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                        <asp:TextBox ID="musicslider" runat="server" style="right:0px" Text="0" />
                        <cc1:SliderExtender ID="SliderExtender9" runat="server" BehaviorID="musicslider" 
                           BoundControlID="musicslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="musicslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." />
                   </td>
                   <td style="width: 74px">
                        <asp:TextBox ID="musicslider_BoundControl" runat="server" Width="30" />
                        <asp:Label ID="Label11" runat="server" Text="Музика"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                       <asp:TextBox ID="moviesslider" runat="server" style="right:0px" Text="0" />
                        <cc1:SliderExtender ID="SliderExtender10" runat="server" BehaviorID="moviesslider" 
                           BoundControlID="moviesslider_BoundControl" EnableHandleAnimation="true" Orientation="Horizontal" 
                           TargetControlID="moviesslider" 
                           TooltipText="Slider: value {0}. Please slide to change value." /></td>
                   <td style="width: 74px">
                       <asp:TextBox ID="moviesslider_BoundControl" runat="server" Width="30" />
                       <asp:Label ID="Label12" runat="server" Text="Филмови"></asp:Label>
                   </td>
                   <td>
                       &nbsp;</td>
               </tr>
               <tr>
                   <td style="width: 180px">
                       &nbsp;</td>
                   <td style="width: 74px">
                       <asp:Button ID="btnInteres" runat="server" onclick="btnInteres_Click" 
                           Text="Внеси интереси" />
                   </td>
                   <td>
                       <asp:Label ID="lblTest" runat="server" ForeColor="Red"></asp:Label>
                   </td>
               </tr>
           </table>
            <br />
            <br />
            <asp:HyperLink ID="nazad" runat="server" NavigateUrl="/Default.aspx">[Дома]</asp:HyperLink>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="mainTitle2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="title2PlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="text2PlaceHolder" runat="server">
</asp:Content>
